<template>
  <router-link to="/home">
    <button>Home页</button>
  </router-link>
  <router-link to="/login">
    <button>Login页</button>
  </router-link>
  <router-view></router-view>
  <!-- <RouterView></RouterView> -->
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "App",
});
</script>

<script setup lang="ts"></script>

<style scoped></style>
